home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Python 1.3.3 / Python 133 68K / Lib / dbhash.py < prev    next >
Text File  |  1996-05-20  |  173b  |  9 lines

  1. """Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
  2.  
  3. import bsddb
  4.  
  5. error = bsddb.error
  6.  
  7. def open(file, flag, mode):
  8.     return bsddb.hashopen(file, flag, mode)
  9.